package com.dhecp.project.system.domain;

import com.dhecp.common.core.domain.BaseEntity;
import com.dhecp.core.enums.VersionFuncType;
import com.dhecp.core.enums.VersionOperateType;

/**
 * @ClassName SysVersionItem
 * @Description TODO
 * @Author alula
 * @Date 2020-03-12 9:36
 */
public class SysVersionItem extends BaseEntity {
    private  String guid;         //唯一主键
    private  String versionId;    //版本号
    private  String funcName;     //名称
    private VersionFuncType funcType;     //功能类型
    private VersionOperateType operateType;  //操作类型
    private  String describe;   //版本描述
    private Boolean deleted;	//是否禁用

    private String funcTypeName;
    private String operateTypeName;

    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid;
    }

    public String getVersionId() {
        return versionId;
    }

    public void setVersionId(String versionId) {
        this.versionId = versionId;
    }

    public String getFuncName() {
        return funcName;
    }

    public void setFuncName(String funcName) {
        this.funcName = funcName;
    }

    public VersionFuncType getFuncType() {
        return funcType;
    }

    public void setFuncType(VersionFuncType funcType) {
        this.funcType = funcType;
    }

    public VersionOperateType getOperateType() {
        return operateType;
    }

    public void setOperateType(VersionOperateType operateType) {
        this.operateType = operateType;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public String getFuncTypeName() {
        if(this.funcType != null){
            return  this.funcType.getInfo();
        }
        return  "";
    }

    public void setFuncTypeName(String funcTypeName) {
        this.funcTypeName = funcTypeName;
    }

    public String getOperateTypeName() {
        if(this.operateType != null){
            return  this.operateType.getInfo();
        }
        return  "";
    }

    public void setOperateTypeName(String operateTypeName) {
        this.operateTypeName = operateTypeName;
    }
}
